﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="SF.Dict.Web.Home" %>

<%@ Register Src="UserControls/ucHeader.ascx" TagName="ucHeader" TagPrefix="uc1" %>
<%@ Register Src="UserControls/ucAsideFooter.ascx" TagName="ucAsideFooter" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>挚友云海 | 给你一份来自分享的快乐</title>
	<script type="text/javascript" src="/Common/jquery-1.3.2.js"></script>
	<link href="/Common/base.css" rel="stylesheet" type="text/css" />
	<link href="/Common/home.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript">
		$(document).ready(
		function () {
			$(".post:last-child").addClass("last");
		}
	);
	</script>
</head>
<body>
	<form id="form1" runat="server">
	<div id="wrap">
		<uc1:ucHeader ID="ucHeader1" PageName="Home" runat="server" />
		<div id="content">
			<div id="main">
				<div id="publisher" class="publisher clearfix">
					<div id="pb-action" class="pb-action clearfix">
						<div class="pb-avatar">
							<asp:HyperLink runat="server" ID="hl_avatar" CssClass="blog-avatar"></asp:HyperLink>
							<a class="action">上传头像</a>
						</div>
						<div class="pb-triangle">
						</div>
						<ul id="pb_action_link">
							<li><a class="text" href="/publish.aspx?pub=text"><span>文字</span></a></li>
							<li><a class="dict" href="/publish.aspx?pub=dict"><span>单词</span></a></li>
							<li><a class="examination" href="/publish.aspx?pub=examination"><span>题目</span></a></li>
							<li><a class="article" href="/publish.aspx?pub=article"><span>文章</span></a></li>
						</ul>
					</div>
				</div>
				<div id="post-holder">
					<asp:Literal ID="ltl_posts" runat="server"></asp:Literal>
				</div>
			</div>
			<div id="aside">
				<ul class="sidemenu sidebox">
					<li class="first userhome last"><a href="/user.aspx?uid=<%=UID %>"><span class="aside-icon">
					</span><span class="address">访问
						<asp:Label ID="lbl_name" runat="server"></asp:Label>
						的首页</span><asp:Label runat="server" ID="lbl_domain" CssClass="domain"></asp:Label></a></li>
					<li class="last"></li>
				</ul>
				<ul class="sidemenu follow">
					<li class="first"><a class="title" href="http://www.diandian.com"><span class="aside-icon">
					</span>我关注了<asp:Label runat="server" ID="lbl_voccount"></asp:Label>门词汇表</a> </li>
					<asp:Repeater ID="rp_uservocs" runat="server">
						<ItemTemplate>
							<li class="voc"><a href="/voc.aspx?vid=<%#Eval("VID")%>">
								<%#Eval("Name")%>
								<span class="hint"><span class="students">
									<%#Eval("FollowCount")%>人关注</span> </span></a></li>
						</ItemTemplate>
					</asp:Repeater>
					<li class="last">
						<div class="manage">
							<span class="aside-icon"></span><a class="action" href="">管理</a></div>
						<div class="more">
							<span class="aside-icon"></span><a class="action" href="/list.aspx">更多词汇表</a></div>
					</li>
				</ul>
				<uc2:ucAsideFooter ID="ucAsideFooter1" runat="server" />
			</div>
		</div>
	</div>
	</form>
</body>
</html>
